projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d221119
)
gtkdnd: Use gdk_drag_begin_for_device()
author
Carlos Garnacho
<carlosg@gnome.org>
Thu, 19 Nov 2015 19:00:23 +0000
(20:00 +0100)
committer
Carlos Garnacho
<carlosg@gnome.org>
Thu, 19 Nov 2015 22:26:49 +0000
(23:26 +0100)
We've got the pointer at hand there, just pass that instead of figuring
out from the client pointer.
gtk/gtkdnd.c
patch
|
blob
|
history
diff --git
a/gtk/gtkdnd.c
b/gtk/gtkdnd.c
index 58d03950c3b079b217151c9442b77f34462949dd..42bf8f1187361852b5cbdba7937ca9ef1dd8f27e 100644
(file)
--- a/
gtk/gtkdnd.c
+++ b/
gtk/gtkdnd.c
@@
-2456,7
+2456,7
@@
gtk_drag_begin_internal (GtkWidget *widget,
source_widgets = g_slist_prepend (source_widgets, ipc_widget);
- context = gdk_drag_begin
(ipc_window
, targets);
+ context = gdk_drag_begin
_for_device (ipc_window, pointer
, targets);
gdk_drag_context_set_device (context, pointer);
g_list_free (targets);